//
//  ZhujiaoCell.m
//  Shengzhuli
//
//  Created by FXGuo on 2017/12/20.
//  Copyright © 2017年 kamangkeji. All rights reserved.
//

#import "ZhujiaoCell.h"
#import "NSDate+Extension.h"

@interface ZhujiaoCell()
@property (weak, nonatomic) IBOutlet UILabel *titleLab;
@property (weak, nonatomic) IBOutlet UILabel *timeLab;


@end

@implementation ZhujiaoCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(TeachListModel *)model
{
    _model = model;
    self.titleLab.text = model.title;
    self.timeLab.text = model.holdDate;
    self.timeLab.text = [NSDate spToDateMinusString:model.startDate];
}

@end
